package com.atguigu.java.ai.langchain4j.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

/**
 * @Author: LZY
 * @Date: 2025/09/02 10:07
 * @Description:
 **/
//测试
@AiService(
        wiringMode = EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemoryProvider = "chatMemoryProvider",
        tools = "calculatorTools", //配置tools工具
        contentRetriever = "contentRetrieverXiaozhi" //配置向量存储
)
public interface SeparateChatAssistant {
    String chat(@MemoryId Long memoryId, @UserMessage String userMessage);
}
